<div class="head_bg col-md-12">
    <div class="head mar_auto main">
        <a href="#" class="logo">
            <img class="login_img" src="${server}/img/Home/pic_text.png" alt="pic_text"/>
        </a>
        <div class="nav">
            <ul class="nav_main">
                <li><a href="${server}">首页</a></li>
                <li><a href="${server}/aboutUs">关于我们</a></li>
                <li class="department" onmouseover="departmentOver()" onmouseout="departmentOut()"><a
                        href="${server}/department">部门&nbsp;<span class="caret"></span></a></li>
                <li><a href="${server}/Recruit">招新</a></li>
                <li><a href="${server}/worksShow/1">作品展示</a></li>
            </ul>

            <ul class="department-menu" onmouseover="departmentOver()" onmouseout="departmentOut()">
                <li><a href="${server}/department">动漫部</a></li>
                <li><a href="${server}/department">技术部</a></li>
                <li><a href="${server}/department">网络部</a></li>
                <li><a href="${server}/department">行政部</a></li>
                <li><a href="${server}/department">项目部</a></li>
            </ul>
        </div>
        <div class="user">
        <#if user??>
            <div class="user_exist">
                <a href="${server}/personal"><img src="${user.img}"></a>
                <a href="${server}/personal">个人中心</a>
                <a href="${server}/off">登出</a>
            </div>
        <#else>
            <div>
                <span class="userLogo glyphicon glyphicon-user"></span>
                <a class="login" id="viewLogin">登陆</a>|<a href="${server}/register" class="regist">注册</a>
            </div>
        </#if>

            <div class="loginList">
                <label>账号</label><input type="text" class="form-control" id="username" name="username"
                                        placeholder="用户名或邮箱">
                <label>密码</label><input type="password" class="form-control" id="password" name="password"
                                        placeholder="密码">
                <div id="tip" class="tip-success"></div>
                <button class="btn submit">登录</button>
                <a href="${server}/find-psw" class="btn">忘记密码</a>
            </div>
        </div>
    </div>
</div>